home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1994 August / Nautilus CD Magazine Volume 4-8 August 1994 Windows Edition.mdf / setup / nautcd / mpt.sbk (.txt) < prev    next >
Asymetrix ToolBook File  |  1994-08-12  |  52KB  |  936 lines

  1. P*06T+
  2. 9,hw^.
  3. 5    136
  4.     >=Px?
  5. linkTBKFunctions
  6. WM_SIZE
  7. false
  8. BinitSysArray
  9. WM_SYSCOMMAND
  10. initMPT
  11.     wDiscConfigFile
  12. strBadSetup
  13. Unable to determine Startup Directory
  14. false
  15. szSysInfo
  16. Unable to determine CD-ROM Drive.
  17. wStartupDir
  18. wExtension
  19. wAppName
  20. wIndexCaption
  21. wVersionID
  22. wRomDrive
  23. wIndexApp
  24. iniString
  25. romDrive
  26. findRomDrive
  27. wShortName
  28. wConfigFile
  29. extension
  30. STARTUP
  31. startupDir
  32. initSysArray
  33. strBadSetup
  34. tb30dos.dll
  35. tb30win.dll
  36. TB30DLG.DLL is missing from the working directory
  37. false
  38. szSysInfo
  39. tb30dlg.dll
  40. wStartupDir
  41. copyFile
  42. ,    TARTU-"
  43. removeFile
  44. ,    TTART-"
  45. createDirectory
  46. getFileAttributes
  47. ,    Uonfig    
  48. getFileSize
  49. getFileDate
  50. ,    UJ:K
  51. setFileAttributes
  52. KrK-"
  53. getCurrentDrive
  54. getCurrentDirectory
  55. getDriveList
  56. UsInfg    
  57. getFileList
  58. getFileOnlyList
  59. getDirectoryOnlyList
  60. setCurrentDirectory
  61. getCDDriveList
  62. setCurrentDrive
  63. TB30WIN.DLL is missing from the working directory
  64. +!popMenu
  65. openFileDlg
  66. openDlg
  67. saveAsDlg
  68. chooseDirectoryDlg
  69. default
  70. or was not found on your path.
  71. TB30DOS.DLL is missing from the working directory
  72. linkTBKFunctions
  73. .&+    +E
  74. +    ,    #?
  75. the right
  76. Unknown or unsupported media.
  77. configFile
  78. Media Viewers
  79. szSysInfo
  80. mediaType
  81. mediaViewer
  82. statusMsg
  83. isFile
  84. Cannot find
  85. disc is in the drive.
  86. wRomDrive
  87. mediaType
  88. Media Viewer (file MEDIA.VWR) not present or not properly initialized.
  89. wAppName
  90. continueMsg
  91. playMedia
  92. iniString
  93. Unsupported media
  94. E<playMCI
  95. CDAudio
  96. default
  97. . Please make certain
  98. bkMediaViewer
  99. szSysInfo
  100. szMediaType
  101. dwMediaLength
  102. bIsControls
  103. bInPlace
  104. szFileName
  105. mediaType
  106. szExec
  107. szMediaSource
  108. wRomDrive
  109. stMediaSize
  110. wAppName
  111. playMedia
  112. Click to continue...
  113. continueMsg
  114. .&+    +E
  115. +    ,    #?
  116. the right
  117. statusMsg
  118. szSysInfo
  119. mediaViewer
  120. Opening Media...
  121. isFile
  122. Cannot find
  123. disc is in the drive.
  124. wRomDrive
  125. Media Viewer (file MEDIA.VWR) not present or not properly initialized.
  126. wAppName
  127. continueMsg
  128. E<playMCI
  129. default
  130. . Please make certain
  131. playMCI
  132. bPlayPageMedia
  133. bLeavePlayed
  134. single
  135. rbLeavePageMedia
  136. pgNotify
  137. bEnterPageMedia
  138. bEnterPlayed
  139. enterPage
  140. bPlayPageMedia
  141. enterPage
  142. 0playPageMedia
  143. pgNotify
  144. bEnterPlayed
  145. timerNotify
  146. bPlayPageMedia
  147. bLeavePlayed
  148. 0playPageMedia
  149. leavePage
  150. bEnterPlayed
  151. leavePage
  152. +    ,    #>
  153. +    ,    #>
  154. rbLeavePageMedia
  155. send playMCI "
  156. bInterrupted
  157. false
  158. enterPage
  159. tenterPageMediaSource
  160. pgNotify
  161. 5leavePageMediaRects
  162. szIdleCmds
  163. leavePage
  164. fleavePageMediaSource
  165. Reader
  166. bEnterPageMedia
  167. CenterPageMediaRects
  168. playPageMedia
  169. aborted
  170. szIdleCmds
  171. MCINotify
  172. WaveAudio
  173. Movie
  174. SfileExtension
  175. Bitmap
  176. AVI,MOV,FLI,FLC,MMM
  177. BMP,DIB,GIF,PCX,TIF,WMF
  178. Sequencer
  179. TXT,DOC
  180. Unsupported media
  181. Rich Text Format
  182. CDAudio
  183. mediaType
  184. +    ,    #>
  185. +    ,    #>
  186. +    ,    #?
  187. +    ,    #?
  188. cFindWindowByCaption
  189. strBadSetup
  190. Cannot run
  191. startupDir
  192. discIssueID
  193. szSysInfo
  194. PbaseName
  195. isFile
  196. wAppName
  197. wIndexCaption
  198. wIndexApp
  199. Yield
  200. Cannot open DDE Link to
  201. BringWindowToTop
  202. Index.
  203. ShowWindow
  204. openIndex
  205. w,    #>
  206. w,    #>
  207. w,    #>
  208. w,    #>
  209. w,    #>
  210. NavBar
  211. startupBookName
  212. szSysInfo
  213. wStartupDir
  214. Prefs
  215. openPrefs
  216. WM_SIZE
  217. shutDown
  218. WWM_SYSCOMMAND
  219. WM_SYSCOMMAND
  220. Do you really want to exit?
  221. preference
  222. 06cleanUp
  223. quitPrompt
  224. shutDown
  225. cleanUp
  226. STARTUP.EXE
  227. startupBookName
  228. w,    "@
  229. startupBookName
  230. isStartup
  231. w,    "@
  232. w,    #>
  233. .&+    +E
  234. w,    #>
  235. w,    #>
  236. strBadSetup
  237. not found.
  238. startupBookName
  239. szSysInfo
  240. wStartupDir
  241. isFile
  242. default
  243. openStartup
  244. -",    #?
  245. w,    #>
  246. sysError =
  247. startupDir
  248. Error logged on
  249. sysErrorNumber =
  250. isFile
  251. EofileOnly
  252. SsysInfo
  253. Error:
  254. in file
  255. logError
  256. +    ,    #>
  257. +    ,    #>
  258. +    ,    #>
  259. +    ,    #>
  260. .&+    +E
  261. ,All Files (*.*),*.*
  262. strWrongVersion
  263. . It may be an incompatible or corrupted file.
  264. szSysInfo
  265. versionID
  266. wExtension
  267. openFileDlg
  268. wVersionID
  269. wRomDrive
  270. default
  271. wShortName
  272. Cannot open
  273. ,ToolBook Books (*.?bk),*.?bk,All Files (*.*),*.*
  274. MPTMEDIA.SBK
  275. Open Magazine
  276. openMagazine
  277. myPath
  278. szSysInfo
  279. wAppName
  280. appName
  281. szSysInfo
  282. wShortName
  283. shortName
  284. szSysInfo
  285. wVersionID
  286. versionID
  287. version
  288. =PdiscIniString
  289. DISC INFO
  290. discVersionID
  291. szSysInfo
  292. wConfigFile
  293. configFile
  294.     wDiscConfigFile
  295. szSysInfo
  296. discConfigFile
  297. szSysInfo
  298. wIndexApp
  299. indexApp
  300. szSysInfo
  301. wIndexCaption
  302. indexCaption
  303. szSysInfo
  304. wRomDrive
  305. romDrive
  306. szSysInfo
  307. wStartupDir
  308. startupDir
  309. +    ,    /
  310. setCurrentDirectory
  311. szSysInfo
  312. wStartupDir
  313. setCurrentDrive
  314. zpathOnly
  315. setStartupDirectory
  316. szSysInfo
  317. wExtension
  318. extension
  319. szSysInfo
  320. wRomDrive
  321. romDrive
  322. 0wgetCDDriveList
  323. wConfigFile
  324. STARTUP
  325. ,writeIniItem
  326. findRomDrive
  327. +    ,    >
  328. +    ,    #>
  329.     wDiscConfigFile
  330. disc.ini
  331. szSysInfo
  332. isFile
  333. wRomDrive
  334. iniString
  335. discIniString
  336. cover
  337. =PdiscIniString
  338. DISC INFO
  339. coverBitmap
  340. issueName
  341. =PdiscIniString
  342. DISC INFO
  343. discIssueName
  344. issueID
  345. =PdiscIniString
  346. DISC INFO
  347. discIssueID
  348. szSysInfo
  349. iniString
  350. Prefs
  351. wConfigFile
  352. preference
  353. Wrong or missing disc! Please replace and try again.
  354. strDiscError
  355. +    ,    #?
  356. +    ,    #?
  357. Wrong
  358. szSysInfo
  359. version!
  360. to the latest version of
  361. wAppName
  362. wVersionID
  363. is installed and you are attempting to open a
  364. You may wish to upgrade
  365. file.
  366. Version
  367. strWrongVersion
  368. +    ,    #?
  369. Wrong
  370. szSysInfo
  371. version!
  372. wAppName
  373. Do you wish to perform an upgrade now?
  374. disc is in the drive.
  375. wVersionID
  376. is installed and a
  377. X6upgrade
  378. Version
  379. wrongDiscVersion
  380. +    ,    #>
  381. +    ,    #?
  382. szSysInfo
  383. szSysInfo
  384. szExec
  385. wRomDrive
  386. wAppName
  387. isFile
  388. wAppName
  389. wRomDrive
  390. Yield
  391. setup.exe upgrade.ins
  392. Upgrade program not found. Please make sure the latest
  393. disc is in your CD-ROM drive.
  394. setup.exe
  395. upgrade
  396. Please run Setup to correct this problem.
  397. strBadSetup
  398. +    ,    #?
  399. w,    #>
  400. Copyright(c)
  401. szSysInfo
  402. Portions Copyright(c)
  403. , Metatec Corp.
  404. wAppName
  405. wVersionID
  406. Metatec Corp.
  407. SsysInfo
  408. All rights reserved.
  409. Version
  410. helpAbout
  411. .chooseDirectoryDlg
  412. Select Directory
  413. selectDir
  414. umber szVe*
  415. P*06T+
  416. 9,hw^.
  417. 5    136
  418.     >=Px?
  419.      %"?
  420. HxuJlxA
  421. Arial
  422. DriveListViewer
  423. Page id 2
  424. tools
  425. Page id 4
  426. Tools
  427. Reader
  428. Open &Tools Window
  429. closeWindow
  430. Window
  431. ~= Reader
  432. "Open &Tools 
  433. MPT System Book
  434. Contents Copyright(c) 1994, Metatec Corp.
  435. &File
  436. &Open...    Ctrl+O
  437. &Save    Ctrl+S
  438. Save &As...
  439. saveas
  440. &Import...
  441. import
  442. &Export...
  443. export
  444. Print Set&up...
  445. printsetup
  446. &Print Pages...    Ctrl+P
  447. printpages
  448. Prin&t Report...
  449. printreport
  450. Send &Mail...
  451. sendmail
  452. &Run...
  453. E&xit    Alt+F4
  454. &Edit
  455. &Undo    Ctrl+Z
  456. Cu&t    Ctrl+X
  457. &Copy    Ctrl+C
  458. &Paste    Ctrl+V
  459. paste
  460. C&lear    Del
  461. clear
  462. Select &All    Shift+F9
  463. selectall
  464. Select Pa&ge    Shift+F12
  465. selectpage
  466. &Size to Page    F11
  467. sizetopage
  468. F&ind...    F5
  469. search
  470. Re&place...
  471. replace
  472. A&uthor    F3
  473. author
  474. &Text
  475. &Character...    F6
  476. character
  477. &Paragraph...    F7
  478. paragraph
  479. &Regular    Ctrl+Space
  480. regular
  481. &Bold    Ctrl+B
  482. &Italic    Ctrl+I
  483. italic
  484. &Underline    Ctrl+U
  485. underline
  486. Stri&keout    Ctrl+K
  487. strikeout
  488. Superscrip&t/Subscript
  489. super/subscript
  490. &Normal Script
  491. normalscript
  492. Su&bscript    Ctrl+L
  493. subscript
  494. Su&perscript    Ctrl+Shift+L
  495. superscript
  496. &Show Hotwords    F9
  497. showhotwords
  498. &Page
  499. &Next    Alt+Right
  500. &Previous    Alt+Left
  501. previous
  502. &First    Alt+Up
  503. first
  504. &Last    Alt+Down
  505. &Back    Shift+F2
  506. &History...    Ctrl+F2
  507. history
  508. N&ew Page    Ctrl+N
  509. newpage
  510. &Help
  511. &Contents    F1
  512. contents
  513. Status &Bar    F12
  514. statusbar
  515. Small Fonts
  516. `v/n/n/
  517. initMPT szAppName,szShortName,szVersionID,szConfigFile,szDiscConfigFile, \
  518.             szIndexApp,szIndexCaption
  519. xinitSysArray(
  520.     -- linkTBKFunctions CAN 
  521. the event
  522. cannot load a DLL, so test 
  523.     -- Trap WM_SYSCOMMAND 
  524. SC_CLOSE so that
  525.     -- shutDown 
  526.  be called 
  527. perform cleanup
  528.     translateWindowMessage 
  529. windowHandle 
  530.         on 0x0005 
  531. WM_SIZE 
  532.         on 0x0112 
  533. szSysInfo[]
  534. gwAppName,wShortName,wVersionID,wConfigFile,wDiscConfigFile
  535. gwRomDrive,wStartupDir,wExtension,wIndexApp,wIndexCaption
  536. y         = 1
  537. z        = 2
  538. x        = 3
  539. v        = 4
  540. s    = 5
  541. E        = 6
  542. D    = 7
  543. w        = 8
  544. v        = 9
  545. s        = 10
  546. ]         = 
  547. ]        = 
  548. ]        = 
  549. ]        = 
  550. iniString(
  551. ],"STARTUP","romDrive","",256)
  552. findRomDrive()
  553. strBadSetup("Unable 
  554. determine CD-ROM 
  555. startupDir","",256)
  556.  Directory")
  557. extension","ncd",4)
  558. szDLL,szPath
  559. gwTries
  560. Zlogical bSysSuspend
  561. A = "tb30dos.dll"
  562. V = 1
  563.         linkDLL 
  564. copyFile(
  565. removeFile(
  566. createDirectory(
  567. getFileAttributes(
  568. \getFileSize(
  569. getFileDate(
  570. setFileAttributes(
  571. getCurrentDrive()
  572. getCurrentDirectory(
  573. getDriveList()
  574. getFileList(
  575. getFileOnlyList(
  576. getDirectoryOnlyList(
  577. setCurrentDirectory(
  578. getCDDriveList()
  579. setCurrentDrive(
  580.  = sysToolBookDirectory & 
  581.  = 4)
  582. TB30DOS.
  583. missing 
  584. working directory" && \
  585. xfound on your path.")
  586. o= default
  587.  = "tb30win.
  588. popMenu(
  589. TB30WIN.
  590.  = "tb30dlg.
  591. openFileDlg(
  592. openDlg(
  593. saveAsDlg(
  594.         -- *** DANGER, WILL ROBINSON!! chooseDirectoryDlg() DOESN'T WORK IN MTB30EA!!     *** --
  595.         -- *** IT 
  596. PKILL YOUR WINDOWS SESSION 
  597. d    LEAVE MUCH SMEGMA IN MEMORY!        *** --
  598.         -- *** GET US OUT OF HERE, SCOTTY!
  599. *** --
  600. TB30DLG.
  601. playMedia szMediaSource,bInPlace,dwMediaLength,stMediaSize,bIsControls
  602. szExec,szFileName,szMediaType
  603. 8bkMediaViewer
  604. xisType("
  605. )    -- *** Not CDAudio *** --
  606.     ] & 
  607. xisFile(
  608. "Cannot 
  609. " && 
  610.  & ". Please 
  611. acertain" && \
  612. " && 
  613. ] && "disc 
  614. drive."
  615.  = mediaType(
  616.  = "Unsupported 
  617. statusMsg 
  618. "Unknown 
  619. unsupported 
  620. configFile(),"
  621. Viewers",
  622. ",256)
  623.  <> "
  624. " && 
  625. " && 
  626.     -- *** mediaViewer() 
  627. a handler 
  628. MEDIA.VWR which returns its 
  629. p*** --
  630. s (file 
  631. xpresent 
  632. xproperly initialized."
  633.     -- *** 
  634.  uses 
  635. whether 
  636. *** --
  637.     -- *** needs 
  638. poll 
  639. device element 
  640. length 
  641. *** --
  642. continueMsg() 
  643. playMCI 
  644. "Click 
  645. d..."
  646. fPlacement
  647. "Opening 
  648. ..." 
  649. )    -- *** 
  650. " && 
  651.  & ". 
  652. " && 
  653. ] && "
  654.         -- *** 
  655. p*** --
  656. pgNotify
  657. PlayPageMedia,bEnterPlayed,bLeavePlayed
  658.         bPlayPageMedia = 
  659. bEnterPageMedia 
  660. bLeavePageMedia 
  661. timerStart("single",500,50,
  662. timerNotify wTimerID
  663. playPageMedia "
  664. {pageEvent
  665. szIdleCmds[]
  666. szSources[]
  667. Zstack stRects[]
  668.         bInterrupted = 
  669. q = "
  670. ~= Reader
  671. p = enterPageMediaSource 
  672. 1] <> 
  673.  = enterPageMediaRects 
  674. reset 
  675. dimensions(
  676. i] = "
  677. """ & 
  678. i] & """,""" & \
  679. i] & 
  680.  = leavePageMediaSource 
  681. 1] <> 
  682.  = leavePageMediaRects 
  683. i] = "
  684. """ & 
  685. i] & """,""" & \
  686. i] & 
  687. MCINotify szStatus,szOperation,szDevice
  688. ( = "aborted" 
  689. 0 = "
  690. fileExtension(
  691. = "WAV"
  692. "WaveAudio"
  693. = "MID"
  694. "Sequencer"
  695. "BMP,DIB,GIF,PCX,TIF,WMF"
  696. "Bitmap"
  697. "AVI,MOV,FLI,FLC,MMM"
  698. "Movie"
  699. "TXT,DOC"
  700. "Text"
  701. = "RTF"
  702. "Rich 
  703.  Format"
  704. openIndex szDir,
  705. ghwnd
  706. First
  707. szDDEName
  708.     bFirst = 
  709. FindWindowByCaption(0,
  710. () & 
  711. () & 
  712. Yield()
  713. dn(0,
  714. " && 
  715. ] && "
  716.  = "\"
  717. discIssueID(),
  718.  = baseName(
  719. r<> "OK"
  720. DDE Link 
  721. " && 
  722. ] && "
  723. keepRemote 
  724. ShowWindow(
  725. BringWindowToTop(
  726. openPrefs
  727. ] & startupBookName())
  728.     parentHandle 
  729. 4 = \
  730. "NavBar"
  731. %modal
  732. ,wMsg,wParam,lParamLo,lParamHi
  733. , = 0xF060
  734. szRetVal
  735.      = preference("quitPrompt","
  736. 0 = "
  737. "Do you really want 
  738. f"Yes" 
  739. cleanUp 
  740.     -- simple trap 
  741. , mag 
  742. app-specific sysBook didn't 
  743.     -- *** Danger, Will Robinson! Hard-coded filename *** --
  744. .EXE"
  745. isStartup
  746. openStartup
  747. ] & (
  748. ] & (
  749. " && (
  750.  && "
  751. logError szError,
  752. szLogFile,szSysError,szLogString
  753. nErrorNumber
  754.  = sysErrorNumber
  755. fileOnly(
  756. () & 
  757. ".err" 
  758. ~(".",
  759.         seekFile 
  760. logged on" && 
  761. p&& "
  762. )" && 
  763. " && \
  764. :" && 
  765.  =" && 
  766. r=" && 
  767. sysInfo() & 
  768. openMagazine
  769. ,szFilters
  770. c"MPTMEDIA.SBK")
  771. ] && \
  772. "(*." & 
  773. ] & "),*." & 
  774. ] & \
  775.  Books (*.?bk),*.?bk,All Files (*.*),*.*"
  776. ] && \
  777. "(*." & 
  778. ] & "),*." & 
  779. ] & \
  780. ","",
  781. versionID 
  782. " && 
  783.  & ". It may be 
  784. incompatible 
  785. corrupted 
  786. strWrongVersion(
  787.     -- *** May be opening magazine 
  788. tools 
  789. e*** --
  790. myPath
  791. szTemp
  792. ) = "\"
  793. appName
  794. shortName
  795. discVersionID
  796. discIniString("DISC INFO","
  797. ","",16)
  798. discConfigFile
  799. indexApp
  800. indexCaption
  801. setStartupDirectory
  802.  success
  803. k#] = 
  804. z#] = pathOnly(
  805. <> -3
  806.  = TRUE        
  807. & ":\"
  808. $] = 
  809. writeIniItem(
  810.  section, entry, 
  811. , bufSize
  812. szDiscIni
  813. gwBufSize
  814. !%] & "
  815. .ini"
  816. @ = (
  817. I%] & 
  818.  = 256
  819. coverBitmap
  820. ","",256)
  821. discIssueName
  822. issueName","",64)
  823. issueID","",16)
  824.  szPref,szDefault
  825. 7,256)
  826. strDiscError
  827. replace 
  828. szInstalled,
  829. %"0.0"
  830. %"0.0"
  831. " && 
  832. '] && "
  833. !" & 
  834. )" && 
  835. x && "
  836. installed 
  837. are attempting 
  838. a" && \
  839. )" && 
  840. ) && "
  841. k& "You 
  842. wish 
  843. upgrade" && \
  844. )latest 
  845. " && 
  846. V(] & "."
  847. wrongDiscVersion 
  848. szDialog
  849. %"0.0"
  850. %"0.0"
  851. : = "
  852. " && 
  853. (] && "
  854. !" & 
  855. " && 
  856.  && "
  857. a" && \
  858. " && 
  859. ;+ && "
  860. V+ > 
  861. k& "Do 
  862.  now?"
  863. )] & "setup.exe")
  864. i  = "
  865. " && 
  866. )] && "
  867. .ins" & 
  868. "Upgrade program 
  869. asure 
  870. " && \
  871. *] && "
  872. ) str
  873. correct 
  874. problem."
  875. -- *** For NautilusCD, NCD.SBK 
  876. ca helpAbout 
  877. shows *** --
  878. -- *** a 
  879. contained 
  880. H bitmap 
  881.     *** --
  882. UszCompany
  883. szHelpAbout,szYear
  884. %"y" 
  885. +] && "
  886. ." && 
  887. +] & 
  888.             "Copyright(c)" && 
  889. f & ","
  890. "Portions 
  891.  & ", Metatec Corp."
  892.  && "
  893. rights reserved." & 
  894. selectDir
  895. $"Select 
  896. *,".")
  897. ncdVGA
  898.                     
  899.                         
  900.                     
  901.                     
  902.                     
  903.                                             
  904.                                     
  905.                     
  906.                     
  907.                         
  908.                     
  909. `hgag<
  910. ggagg
  911. agagg
  912. ggagh
  913. R...Y
  914. S.YY...Y
  915. .R5YR..
  916. Y5R....}
  917. _....
  918. YYYY....
  919. YR...}
  920. YR......
  921. .......Y
  922. R......Y
  923. Y.....Y
  924. YR..Y
  925. P*06T
  926. alinkTBKFunctions
  927. WM_SIZE
  928. zs3K;3Jc+
  929. %0G''
  930. F6UFW
  931. BVFW&
  932. &W6eDirectoryDlg
  933. Select Directory
  934. selectDir
  935. umber szVe*
  936.